#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>

int main()
{
    printf("程序运行起始位置\n");
    char* argv[] = {"-a","-d","-c",NULL};
    char* env[]={"MYVAL=100","CLASS=009",NULL};

    execv("./pro",argv);        

    printf("程序运行结束位置\n");
    return 0;
}
